package com.gnerv.plug.discuss;

import com.gnerv.plug.discuss.action.AddDiscussAction;
import com.intellij.openapi.actionSystem.ActionGroup;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class DiscussGroupAction extends ActionGroup {

    public DiscussGroupAction() {
        super();
    }

    public DiscussGroupAction(@Nullable String shortName, boolean popup) {
        super(shortName, popup);
    }

    @NotNull
    @Override
    public AnAction[] getChildren(@Nullable AnActionEvent anActionEvent) {
        return new AnAction[]{
            new AddDiscussAction("AddDiscuss", "AddDiscuss", null)
        };
    }

}
